package cn.dubito.springcloud;

import cn.dubito.rule.MyRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author liliang
 * @description:
 * @date 2018/5/20.
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "MICROSERVICECLOUD-DEPT",configuration = MyRule.class)
public class DeptConsumerMain {

    public static void main(String[] args) {
        SpringApplication.run(DeptConsumerMain.class, args);
    }
}
